package com.dao;

import com.pojo.User;

import java.util.List;

/**
 * @description user
 * @author 
 * @date 2022-12-24
 */
public interface IUserDAO {

    int add(User user);

    int update(User user);

    int delete(int id);

    User findByUserName(String userName);

    List<User> findAllList();

}